//
//  GQHTrucksFollowedView.h
//  Xanthium
//
//  Created by GuanQinghao on 06/03/2018.
//  Copyright © 2018 GuanQinghao. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "GQHTruckModel.h"

@protocol GQHTrucksFollowedViewDelegate <NSObject>

@required
/// 默认必须实现

@optional
/// 可选实现
/// 点击功能列表项
- (void)qh_selectedRowWithTableView:(UITableView *)tableView atIndexPath:(NSIndexPath *)indexPath;

/// 关注或取消关注
- (void)qh_followedOrUnfollowed:(UIButton *)sender;

@end


@interface GQHTrucksFollowedView : UIView

// 代理
@property (nonatomic, weak) id<GQHTrucksFollowedViewDelegate> qh_delegate;

// 列表视图
@property (nonatomic, strong) UITableView *qh_tableView;

// 关注的车辆模型数组
@property (nonatomic, strong) NSMutableArray<GQHTruckModel *> *qh_truckModelArray;

@end
